IPv6 address ownership solution based on zero-knowledge identification protocols or based on one time password

ABSTRACT

A method and system for proving ownership of an IPv6 address of a node in an IP based communication system. The node generates or has a private key corresponding to a public key, computes an address using the public key. The node verifies owning the address by generating answer to at least one question presented by another node, the answer being generated using the private key corresponding to the public key. According to another embodiment, for proving ownership of the IP address, the node generates the IP address based on passwords used only once, and the another node receiving the IP address verifies that the node owns the IP address by checking the password.

CROSS-REFERENCED TO RELATED APPLICATION

[0001] The present application claims the benefit of priority of provisional application Serial No. 60/395,616, filed Jul. 15, 2002, the contents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0002] The present invention relates to a system and method for solving IPv6 address ownership problems.

[0003] This invention is related to IPv6 and more particularly to the address ownership problem. IPv6 has a well-known problem called address ownership. In current IPv6, hosts cannot prove that they own the claimed IP address and are authorized to use it. This problem is responsible for different potential attacks and as a consequence limits the benefits of protocol such as MIPv6. This problem is not unique and restricted to mobile networks but affects the whole IPv6 in general. The IPv6 address ownership problem is therefore an important security problem that should be properly addressed.

[0004] According to the initial design goals, the basic routing and packet forwarding mechanisms in IPv6 were supposed to be similar to those of IPv4. However there are considerable differences in the way the hosts and routers learn and use the information. The IPv6 address configuration procedures e.g. allow a more dynamic distribution and discovery of the routing information and facilitate mobility and network management. Mobility support has been considered since the beginning in the design of IPv6 and all hosts must support the specified extensions. Although these mechanisms bring known benefits, they also open the door for a new set of security threats.

[0005] Mobile IPv6 introduces new extensions to the IPv6 protocol and new entities, such as the Home Agent (HA) in order to support node mobility. Mobility is achieved thanks to the Binding update and Binding acknowledgement messages exchanged between the Mobiles Nodes (MN) and the HA, and between the MN and their correspondent nodes (CN). These Binding Update messages update the receiving ends with the current location of the MN (i.e. the Care of Address (CoA)) and must therefore be authenticated to prevent several types of attacks identified and described in “Allison Mankin, Basavaraj Patil, Dan Harkins, Erik Nordmark, Pekka Nikander, Phil Roberts, Thomas Narten. Threat Models introduced by Mobile IPv6 and Requirements for Security in Mobile IPv6. Internet draft, work-in-progress, Internet Engineering Task Force, 05 Nov. 2001”.

[0006] Defining a dynamic key establishment protocol between the MN and the CN, this MN-CN security key can be used to authenticate the binding update messages. By simply applying message authentication to the binding update message, the mechanisms remain vulnerable to a set of different attacks. In particular, the security threats derived from the address ownership problem: in current IPv6, hosts cannot prove that they own the claimed IP address and are authorized to use it. As a consequence the IPv6 world is vulnerable to different types of impersonation, denial of service and man in the middle attacks.

[0007] The problem is illustrated in this document via the future attacks but this is only one of the possible attacks derived from the IPv6 address ownership problem.

[0008] A typical attack derived from the address ownership problem is represented in FIGS. 3 to 5. An attacker may come to a subnet and knowing the interface ID of e.g. another user, he can derive the victim's to be CoA (Care-of Address) and steal all the future sessions of this user.

[0009] When assuming a victim, an attacker and a server, the attacker can know or learn the L2 address of the chosen victim by different means. When coming to a subnet, it can therefore derive the IP address that the victim will use when coming to this subnet; more particularly by concatenating the advertised network prefix, and the chosen victim's L2 address as specified e.g. in the stateless address auto configuration “S. Thomson, T. Narten: IPv6 Stateless Address Autoconfiguration, Internet Request for Comments RFC 2462, Internet Engineering Task Force, December 1998”. Let us call IP1 this IP address.

[0010] The attacker can open a session with the server using IP1: he will claim IP1 as its Home address (step 1). The attacker will then move to a different subnet and send a Binding update to create a binding cache in the server (step 2). When the victim will then send a request to the server (step 3), since this one has a binding cache for this IP address, it will send the response to the attacker.

[0011] The attacker can maintain the binding cache by sending binding update to the server, and even if these messages are authenticated thanks to a security key, this security association cannot prevent this type of attack. Unless a host can prove that it is authorized to use the claimed IP address, the mechanisms are thus vulnerable to different impersonation, denial of service and man in the middle attacks.

[0012] Two main schemes have been suggested so far to solve the IPv6 address ownership issue. A Return Routability (RR) test specified by the Mobile IP working group and mandated in the MIPv6 protocol requires seven messages to be exchanged between the mobile node and the correspondent node. Binding Security Associations are not used in MIPv6, but every time MN (Mobile Node) wants to send a BU, it needs to perform the RR test which requires seven messages to be sent over the air interface. In wireless links, this is unacceptable. In addition, the lifetime of the RR test is only 5 minutes; and the RR tests then needs to be re-executed. This large number of required messages is a major constraint for wireless networks where bandwidth is limited and expensive. In addition this RR test must be frequently (periodically) re-executed to prevent potential future attacks. And despite all these constraints, this protocol does not solve the problem; it just limits the potential damages that could be performed against the MN and the CN, and is still vulnerable to different types of attacks: e.g. considering a n ongoing IPv6 communication between two nodes A and B, which do not have to be mobile, (B just implementing the mandatory CN functionalities of MIPv6); a third node C located on the path between A and B could foil the RR test and send a BU to node B for node A including an own “CoA”.

[0013] A second solution is called Cryptographically Generated Address (CGA). This scheme relies on Public keys/Private keys operations; digital signatures require heavy computations both to compute the signature and to verify it; and are therefore an issue for mobile nodes which most probably will not have the computational capability to support digital signatures. Digital signatures and signatures verifications require a lot of processing. Many mobile nodes are low end processing and can not perform all the required computations.

[0014] Both solutions thus have major constraints and most probably IPv6 hosts will therefore not deploy them preventing the utilization of Route optimization which is a key driver for Mobile IP; these security issues may therefore hammer Mobile IP preventing the adoption and a large scale deployment of this protocol.

[0015] In the context of Mobile IPv6, in order to solve this problem, the MN and the CN must frequently perform the RR test but this protocol requires 7 messages to be exchanged; and this test must be performed not only when the MN changes its CoA but also periodically. The number of messages thus required, is a problem for wireless networks where bandwidth is limited and expensive.

[0016] The Fiat-Shamir identification protocol is described in: Handbook of Applied Cryptography; Menezes, van Oorschot and Vanstone p405-411. The Guillou-Quisquater identification protocol is discussed in: Handbook of Applied Cryptography; Menezes, van Oorschot and Vanstone p412-414. The “Handbook of Applied Cryptography”; Menezes, van Oorschot and Vanstone p412-414, describes the Schnorr identification protocol. The SUCV proposal is described in http://search.ietf.org/internet-drafts/draft-montenegro-sucv-02.txt.

SUMMARY OF THE INVENTION

[0017] According to one aspect, the invention provides a method as defined in the independent method claims or any one of the dependent method claims.

[0018] According to a further aspect, the invention provides a system as defined in the independent system claims or any one of the dependent system claims.

[0019] The invention provides a solution for address ownership problems e.g. in IPv6.

[0020] The invention with all its embodiments and/or variations and/or combinations can be applied to e.g. IPv6 address ownership solution based on e.g. zero-knowledge identification protocols or based on one time password.

[0021] The invention describes efficient methods and systems for the user or MN to prove that she/he owns the claimed IP address. In other words, the methods described provide security against IP spoofing types of attacks.

[0022] In order to prove that the user or MN or terminal or stationary node owns the IP address, this invention describes a new way to generate the IP address.

[0023] It describes an efficient method and system for a user or MN to prove that it owns and is authorized to use the claimed IP address.

[0024] It therefore solves different types of attacks such as the future attacks shown in FIGS. 3 to 5.

[0025] Such a procedure for a MN to prove that it owns a claimed IP address has several applicabilities: it can e.g. also prevent IP spoofing, TCP flooding, etc. To illustrate the solution, its applicability to the case of Mobile IP (where the MN needs to be able to send BU messages securely to the CNs) is more particularly described below.

[0026] The invention thus describes a technical solution which satisfies the following objectives:

[0027] a MN is able to create IP addresses dynamically and prove to other nodes that it owns the address (i.e. it does not correspond to any other MN) and it is authorized to use the address;

[0028] the solution does not rely on the presence of any infrastructure (e.g. AAA, PKI);

[0029] the solution is as lightweight as possible for the MN and the correspondent nodes in terms of computational effort, amount of signaling and amount of memory required.

[0030] The MN need not be assigned a permanent IPv6 Home Address, but is configured with the prefix of the Home Network to which the Home Address should belong to. Both Home Address (HoA) and Care of Address (CoA) are preferably dynamically generated.

[0031] The invention provides according to one aspect a method and system for proving ownership of an address of a first node in an e.g. IP based communication system. The first node has a private key and public key pair, and generates an address using the public key, which is provided to a second node. The second node sends an address verification request to the first node, and the first node proves to the second node that it owns said dynamic address by providing an address verification answer generated using said private key corresponding to said public key. The step of generating the address preferably comprises the steps of computing a function using the public key to generate an address generation value, and generating the address, preferably a dynamic address, using said address generation value.

[0032] The address may be an IPv6 (IP version 6) address. The first node preferably generates a pair of private/public keys according to an identification protocol, preferably a zero knowledge identification protocol. The address generation value may be computed e.g. by applying a hash function to the public key. The address generation value may be used as a suffix for generating said dynamic address.

[0033] The address verification request sent by said second node preferably includes a cookie and/or a challenge, e.g. a random number. The cookie may be computed by said second node using a security algorithm and a security key of said second node. The first node preferably sends an address verification response including a response, computed by applying the private key to the challenge, and/or the public key and/or the cookie.

[0034] The second node may verify that said first node owns said dynamic address by computing a hash of the public key and comparing the resulting value with the address generating value which may be inserted in a suffix of the dynamic address, and/or by applying the public key to the response and comparing the result with the challenge.

[0035] According to a further aspect of the invention, a method and system are provided for proving ownership of an IP address of a node in an IP based communication system, wherein the node generates the IP address based on passwords used only once, and another node receiving the IP address verifies that the node owns the IP address by checking the password.

[0036] The node may generate the IP address using an advertised network prefix and the password as the suffix.

[0037] The node may insert a number into the generated IP address, the number being incremented or decremented each time the IP address is transmitted to the another node, the another node additionally checking the number for verifying ownership of the IP address.

BRIEF DESCRIPTION OF THE DRAWINGS

[0038]FIG. 1 illustrates a first embodiment of the invention;

[0039]FIG. 2 illustrates a second embodiment of the invention; and

[0040] FIGS. 3 to 5 show a potential attack with regard to Ipv6 address ownership problem.

DETAILED DESCRIPTION OF THE INVENTION

[0041] The invention describes an efficient way to authenticate a node (e.g. an Ipv6 node) or a message (e.g. a binding update message) in the context of IP, preferably but not necessarily Mobile IP, or other scenario such as TCP.

[0042] According to a first embodiment of the invention, the following steps and/or means or functions are provided.

[0043] This embodiment more particularly describes the applicability of the method and system according to the invention to the context of Mobile IP thus defining a new mechanism to send e.g. Binding Update messages securely from a node (e.g. Ipv6 Node) such as a MN to the CN(s).

[0044] In particular, the embodiments described aim at solving the need for a Mobile IPv6 MN to be able to send securely Binding Update messages to Correspondent Nodes with which no previous security associations exist, and in particular the CN needs to be able to verify that the MN owns the Home Address and the Care-of Address in the Binding Update message.

[0045] The description focuses on the problem specifically for Mobile IPv6. In an initial Set Up phase, the Mobile Node (MN) generates one pair of private/public keys according to the adopted zero-knowledge identification protocols. The identification protocol can e.g. be Feige Shamir, Giullou Quisquater, Schnorr, or any derived or new identification protocol.

[0046] The user, i.e. MN, then computes a hash of the public key and the result is used at the suffix for the IPv6 addresses:

[0047] For the Home IP address, the MN concatenates the Home Network prefix (or the local network prefix, according to the usage scenarios described below) and the computed suffix:

[0048] HoA=network_prefix∥hash (Public_Key).

[0049] As for the IP Care of Address (CoA) (when this is computed, according to the scenarios below), instead of using the Layer 2 address as specified in the IPv6 stateless address autoconfiguration [RFC 2462], the user uses the hash of the public key to derive the IPv6 address:

[0050] CoA=network_prefix∥hash (Public_Key)

[0051] The MN then registers its generated HoA with a Home Agent, in order for the Home Agent to be able to defend the address and forward incoming packets to the MN. Security for this step is out of the scope of this document.

[0052] With both Care-of Address and Home Address generated dynamically by the MN, “push services” (i.e. flows of IP packets generated by a CN without previous contact by the MN) are not supported until the MN first contacts the CN. It has to be noted that this solution is in no way worst than CGA from the point of view of push services.

[0053] Protocol messages overview: The present embodiment is based on a zero-knowledge identification mechanism. With this type of mechanism, in order to prove ownership of an address the MN exchanges the following messages with the CN:

[0054] 1.) MN→CN: Witness

[0055] The MN generates a Witness and sends it to the CN

[0056] 2.) MN←CN: Challenge

[0057] The CN sends a challenge to the MN. The main idea behind these mechanisms relies on “a set of questions” from the CN to the MN using zero-knowledge identification protocols.

[0058] 3.) MN→CN: Response, Public Key, modulus

[0059] The MN replies by providing the information needed to prove ownership of the addresses. The MN being able to answer correctly to all the questions (3) proves that it has knowledge of the private key corresponding to the public key whose hash is in the IP addresses and therefore owns the addresses. In step 3, the CN comparing the claimed public key with the hash value from the IP addresses and making some other verification will be able to verify that the MN owns the claimed IP address(es).

[0060] This solution therefore describes a new way to derive the IP addresses based on the zero-knowledge identifications protocols to solve the address ownership problem. This solution does not select a specific identification protocol thus allowing more flexibility: each protocol has relative advantages/disadvantages in terms of communications, memory, and security guarantees.

[0061] The way these parameters are computed depends on the adopted identification protocol. Embodiments will be described in the following for illustration of the invention.

[0062] Several different usage scenarios are described in the following. First, a case will be explained where a Dynamic HoA (Home address) is generated with Home Network. In this scenario, the MN creates a dynamic Home Address by generating the address suffix as described below and by using the prefix of the Home Network to which the Home Address shall belong to.

[0063] In an initial Set Up phase, as illustrated by step 1 of the embodiment shown in FIG. 1, the following steps or functions are performed.

[0064] For the Home Address, the MN concatenates the Home network prefix and the resulting suffix:

[0065] HoA=home_network_prefix∥hash (Public_Key)

[0066] For the Care of Address (CoA), the MN computes the address similarly:

[0067] CoA=network_prefix∥hash (Public_Key)

[0068] The MN then registers its generated HoA with a Home Agent in step 2 of FIG. 1, in order for the Home Agent to be able to defend the address and forward incoming packets to the MN.

[0069] Protocol details for an embodiment solution based on the Feige-Fiat-Shamir identification protocol will first be described. When the MN needs to setup a communication with a CN, according to the latest Mobile IPv6 specifications the MN needs to send packets to the CN by tunnelling them through the HA (reverse tunnelling), i.e. all the packets (both uplinks and downlinks) must go through the HA since the CN would not accept a packet containing the Home Address option from a MN for which it does not have a binding cache entry. In a step 3 of FIG. 1, the CN may request the MN to prove ownership of HoA. If the MN prefers to use Route Optimization, it needs to send a secure binding update to the CN, as shown in FIG. 1, step 4.

[0070] In a step 5, the MN proves its address ownership in e.g. t executions of a 3-pass protocol. Several messages are exchanged between CN and MN. Parameters Set up: The MN computes the common modulus n=pq after selecting two secret primes p and q each congruent to 3 mod 4, and such that n is computationally infeasible to factor. Integers k and t are defined as security parameters.

[0071] Computation of the secrets: MN does the following:

[0072] selects k random integers s₁, s₂, . . . s_(k) in the range 1<s_(i)<n−1 and k random bits b₁, . . . , b_(k)

[0073] computes vi=(−1)^(bi).(s_(i) ²)⁻¹ mod n for 1<i<k

[0074] computes a hash of its public key (v₁, v₂, . . . v_(k); n) and derives the corresponding IP addresses. MN securely stores its private key (s₁, . . . , s_(k)).

[0075] This completes the set-up phase.

[0076] Protocol Messages:

[0077] 1. MN computes the HoA and CoA from the resulting public key:

[0078] HoA=home_network_prefix∥hash (Public_Key)

[0079] CoA=network_prefix∥hash (Public_Key)

[0080] 2. MN registers its Home address with a Home agent.

[0081] 3. MN establishes a communication with a CN (based on the M's HoA) and packets are going through the Home Agent. The CN may request that the MN proves address ownership of the HoA. In such cases, the MN should do the necessary operations as described below.

[0082] 4. In order to use route optimization, the MN sends a Binding Update to the CN:

[0083] MN→CN: x(=+/−r² mod n); HoA; CoA

[0084] 5. The MN actually chooses a random integer r, 1<r<n−1, and a random bit b; computes x=(−1)^(b).r² mod n and sends x (the witness) to CN with its HoA and its CoA.

[0085] 6. MN←CN: (e₁, . . . , e_(k)) with each e_(i) equals 0 or 1; cookie.

[0086] In response, the CN sends to MN (the challenge) a random k-bit vector (e₁, . . . , e_(k)) and a cookie: the generation of the cookie is implementation dependant. It could e.g. be computed taking as inputs the HoA, the CoA, the Challenge and some internal secret.

[0087] MN→CN: y(=r*Π(e_(j=)1)s_(j) mod n); (v₁, v₂, . . . v_(k)); n; HoA; CoA; cookie

[0088] MN computes and sends to CN the response y=r*Π(j from 1 to k)s_(j) ^((ej)) mod n(the product of r and those s_(j) specified by the challenge)

[0089] The CN verifies that hash (v₁, v₂, . . . v_(k); n)=IP addresses suffix, and the cookie is valid before computing z=y²*Π(j from 1 to k)v_(j) ^((ej)) mod n and verifying that z=+/−x and z≠0.

[0090] If the verifications pass, the CN creates a binding cache for the MN and sends the MN a Binding acknowledgement to inform it of the success. The packets exchanged between the MN and the CN do not need to go through the HA anymore.

[0091] Compared to CGA, this solution also uses Public keys but does not rely on digital signatures to prove the ownership of the address. This solution is therefore well suited for endpoints with low-power processors. Most mobile nodes fall in that category.

[0092] Digital signatures require a lot of processing. As a rough performance comparison, according to [1], the Fiat Sharmir protocol requires beween one and two orders of magnitude fewer full modular multiplications (steps) by the prover than an RSA private key operation. When kt=20 and n=512 bits, Fiat Shamir uses from 11 to about 30 steps whereas a full exponentiation in unoptimized RSA takes 768 steps. The digital signature verification at the receiving end also requires a lot of processing.

[0093] Compared to the current RR test defined in the MIPv6 specifications, in the proposed scheme, MN will only have to send authenticated BU when changing CoA. In addition, only 3messages (compared to 7) need to be exchanged between MN and CN and no one needs to go through the HA.

[0094] Finally, attacks lead by an attacker between the CN and the HA, and other newly identified attacks such as the one described in the following that are possible when using RR will no longer be possible:

[0095] Potential attacks to RR: Assume an ongoing IPv6 communication between two nodes A and B, which are not mobile, but B implements the CN function of MIPv6. A third node C is located on the path between A and B. In my impression, C could send a BU to node B for node A including an own “CoA”. According to the return routability test, a correct binding in B can be established if C can intercept all packets sent to A's address. Thus, using MIPv6 RO, all packets sent from B to A will be delivered to the “CoA” at node C. If node C removes the MH and then forwards the packets, node A may not even notice this slight modification of routing.

[0096] Security properties of the Feige-Fiat-Shamir identification protocol include the following.

[0097] (a) Probability of forgery: the Feige-Fiat-Shamir identification protocol is provably secure against chosen message attacks in the following sense: provided that factoring n is difficult, the best attack has a probability 2^(−kt) of successful impersonation.

[0098] (b) Security assumption required: The security relies on the difficulty of extracting square roots modulo large composite integers n of unknown factorisation.

[0099] (c) Parameter selection: Choosing k and t such that kt=20 allows 1 in a million chance of impersonation.

[0100] (d) Flexibility: Computation, memory and communication can be traded off using the security parameters k and t: computation and communication may e.g. be reduced by trading off security parameters to yield a single iteration (t=1) when bandwidth is important; or on the contrary holding the product kt constant and increasing t while decreasing k, is optimised for low processing end points.

[0101] The communication complexity can be reduced if the MN sends to the CN (e.g. a 128 bits of) a hash value h(x) instead of x in message (1) with the CN's verification modified accordingly.

[0102] To summarize, this method and system according to the invention provides a secure and efficient solution to the IPv6 address ownership problem with the following properties:

[0103] The solution relies on Public/Private keys technologies and therefore allows the hosts to prove that they own the claimed IP address.

[0104] The solution is based on Public/Private keys but does not rely on digital signatures; the computational requirements are significantly reduced and the solution can therefore even be adopted by endpoints with low-power processors.

[0105] The protocol offers a lot of flexibility in terms of computation, memory and communication. These parameters can be traded off using the security parameters, making the solution suitable to different types of environments (e.g. for cellular links where bandwidth is limited and expensive).

[0106] Considerations about push services: The Home Address generated by the MN can have a long life time. Therefore, all the MNs that the MN contacted during this lifetime can initiate flows of IP packets towards the MN at any time.

[0107]FIG. 2 describes an embodiment which implements locally generated dynamic Home Address. The embodiment of FIG. 2 will be described with reference to the step numbers attached to the arrows shown in FIG. 2.

[0108] In this scenario, the MN does not use any Home Agent and does not generate a HoA with a prefix corresponding to the home network. The MN computes (step 1) an IP address IP1 by concatenating the network prefix with the hash of the Public key: In terms of Mobile IPv6, IP1 should be considered as the Care-of Address, since it actually is the address at the point of connectivity.

[0109] In a step 2, the MN then establishes the communications with its CN using IP1 as if it were the MN Home Address (i.e. no Home Address option, no reverse tunnelling, source address is IP1).

[0110] After moving to some other subnet (step 3), the MN will generate a CoA concatenating the network prefix and the hash of the public key (step 4) and send a Binding Update message (step 5) to the CN to create a binding cache between the first IP address (IP1 which is used by the MN as an HoA) and the CoA before sending any packet to the CN using the CoA. The procedures and the messages content (step 6) used for the MN to prove the CN the ownership of the IP addresses are the same than in the previous usage scenario.

[0111] 5a. MN→CN: x(=+/−r² mod n); HoA; CoA

[0112] The MN actually chooses a random integer r, 1<r<n−1, and a random bit b; computes x=(−1)^(b).r² mod n and sends x (the witness) to CN with its HoA and its CoA.

[0113] 5b. MN←CN: (e₁, . . . , e_(k)) with each e_(i) equals 0 or 1; cookie

[0114] In response, the CN sends to MN (the challenge) a random k-bit vector (e₁, . . . , e_(k)) and a cookie: the generation of the cookie is implementation dependant. It could e.g. be computed taking as inputs the HoA, the CoA, the Challenge and some internal secret.

[0115] 5c. MN→CN: y(=r*Π(e_(j)=1)s_(j) mod n); (v₁, v₂, . . . v_(k)); n; HoA; CoA; cookie

[0116] MN computes and sends to CN the response y=r*Π(j from 1 to k)s_(j) ^((ej)) mod n (the product of r and those s_(j) specified by the challenge)

[0117] The CN verifies that hash (v₁, v₂, . . . v_(k); n)=IP addresses suffix, and the cookie is valid before computing z=y²*Π(j from 1 to k)v_(j) ^((ej)) mod n and verifying that z=+/−x and z≠0.

[0118] If the verifications pass, the CN creates a binding cache for the MN and sends the MN a Binding acknowledgement to inform it of the success.

[0119] Generally, digital signatures are more vulnerable to impersonation since an adversary can more easily discover an entity's long term private keying material using chosen-text attacks because in digital signatures, the claimant uses its private key to compute its response and thus a response may reveal partial information; whereas in zero-knowledge identification protocol such as Fiat-Shamir, the response y=r is independent of the MN's secret s₁, s₂, . . . s_(k); while the response y(=r*Π(ej=1)s_(j) mod n also provides no information about s₁, s₂, . . . s_(k) because the random r is unknown to the CN. In conclusion, the invention is also an improvement with respect to CGA.

[0120] According to a further embodiment of the invention, the following steps and/or means are provided.

[0121] In a Set-up phase: The user generates one pair of private/public keys according to the adopted zero-knowledge identification protocol (e.g. Feige Shamir identification protocol, Giullou Quisquater identification protocol, Schnorr identification protocol, or any derived or new identification protocol). The user then computes a hash of the public key and the result is used at or as the suffix for the IPv6 address. Instead of using the Layer 2 address as specified in the stateless address autoconfiguration, the user will use the hash of the public key to derive the IPv6 address.

[0122] Protocol messages: When A needs to prove its address ownership to B (e.g. in MIP for Binding Update), A and B send the following messages or information:

[0123] A→B: Witness

[0124] A←B: Challenge

[0125] A→B: Response, Public Key, modulus

[0126] The way these parameters are computed depends on the adopted identification protocol. One example has been described above for illustration of the invention. Another example embodiment of the invention incorporating the above features will be described below. One of the main ideas relies in sending one, or more preferably a set of, questions from B to A using an identification protocol, preferably a zero-knowledge identification protocol (in above step 2, A←B). A being able to answer correctly to all the questions (above step 3; B→A), will prove that A has knowledge of the private key corresponding to the public key whose hash is in the IP address. B then compares the claimed public key with the hash value from the IP address and e.g. makes some other verifications as described below. In this manner B will be able to verify that A owns the claimed IP address.

[0127] The embodiments of the invention are not restricted to selection of a specific identification protocol and thus allows more flexibility as mentioned above.

[0128] In accordance with the disclosed embodiments, the invention presents a method for an entity to prove that it owns an IP address; and as a derived benefit, presents an efficient way to authenticate the binding updates in Mobile IP thus allowing a large scale deployment of this important protocol.

[0129] Advantages of the invention include the following. Compared to CGA, this solution also uses Public keys but does not rely on digital signatures to prove the ownership of the address. This solution is therefore well suited for endpoints with low-power processors. Most mobile nodes fall in that category.

[0130] Digital signatures requires a lot of processing. As a rough performance comparison, the Fiat Shamir protocol requires between one and two orders of magnitude fewer full modular multiplications (steps) by the prover than an RSA private key operation. When kt=20 and n=512 bits (see below embodiment), Fiat Shamir uses from 11 to about 30 steps whereas a full exponentiation in unoptimized RSA takes 768 steps.

[0131] The digital signature verification at the receiving end also requires a lot of processing.

[0132] Compared to the current RR test defined in the MIPv6 (Mobile IP version 6) specifications, thanks to the proposed scheme, MN will only have to send authenticated BU when changing CoA. In addition, only three messages (compared to seven) need to be exchanged between MN and CN and none of these messages needs to go through the HA.

[0133] Finally attacks lead by an attacker between the CN and the HA that are possible when using RR will no longer be effective.

[0134] Compared to a derivation of the IPv6 address using the advertised network prefix and one time passwords as the suffix, the solution described in this document does not have any limitation whereas one time passwords may all be used out after some time and then the derived IP address can not be used anymore but must be renewed. The solution proposed according to this embodiment of the invention has an unlimited lifetime (actually until the public/private is broken) whereas the solution relying on one time passwords can only be used a limited number of times.

[0135] Security properties of the Feige-Fiat-Shamir identification protocol used in the below described embodiment are as follows.

[0136] (a) Probability of forgery: the Feige-Fiat-Shamir identification protocol is provably secure against chosen message attack in the following sense: provided that factoring n is difficult, the best attack has a probability 2^(−kt) of successful impersonation

[0137] (b) Security assumption required: The security relies on the difficulty of extracting square roots modulo large composite integers n of unknown factorisation

[0138] (c) Parameter selection: Choosing k and t such that kt=20 allows 1 in a million chance of impersonation

[0139] (d) Flexibility: Computation, memory and communication can be traded off using the security parameters k and t: computation and communication may e.g. be reduced by trading off security parameters to yield a single iteration (t=1) when bandwidth is important; or on the contrary holding the product kt constant and increasing t while decreasing k, is optimised for low processing end points.

[0140] The embodiment of the invention described below is based on the Feige-Fiat-Shamir identification protocol.

[0141] A summary of this embodiment is: A proves its address ownership in t executions of a 3-pass protocol.

[0142] Parameters Set up: A computes the common modulus n=pq after selecting two secret primes p and q each congruent to a modulus, e.g. to 3 mod 4, and such that n is computationally infeasible to factor. Integers k and t are defined as security parameters;

[0143] Computation of the secrets: Each entity A does the following:

[0144] (a) select k random integers s₁, s₂, . . . s_(k) in the range 1<s_(i)<n−1 and k random bits b₁, . . . , b_(k)

[0145] (b) compute vi=(−1)^(bi).(s_(i) ²)⁻¹ mod n for 1<i<k

[0146] (c) A computes a hash of its public key (v₁, v₂, . . . v_(k); n) and derives the corresponding IP address. A securely stores its private key (s₁, . . . , s_(k)). This completes the set-up phase.

[0147] Protocol messages

[0148] A→B: x(=+/−r² mod n)

[0149] B←A: (e₁, . . . , e_(k)) with each e_(i) equals 0 or 1

[0150] A→B: y(=r*Π(e_(j)=1)s_(j) mod n); (v₁, v₂, . . . v_(k)); n (and optionally in the context of MIPv6, the binding update to update the binding cache with the new CoA—in such case, the packet preferably is also integrity protected with a BSA).

[0151] Protocol actions:

[0152] (a) A chooses a random integer r, 1<r<n−1, and a random bit b; computes x=(−1)^(b).r² mod n and sends x (the witness) to B;

[0153] (b) B sends to A (the challenge) a random k-bit vector (e₁, . . . , e_(k))

[0154] (c) A computes and sends to B the response y=r*Π(j from 1 to k)s_(j) ^((ej)) mod n(the product of r and those s_(j) specified by the challenge);

[0155] (d) B verifies that hash (v₁, v₂, . . . v_(k); n)=IP address's suffix before computing z=y²*Π(j from 1 to k)v_(j) ^((ej)) mod n and verifying that z=+/−x and z≠0.

[0156] In another embodiment of the invention described below, in order to prove that the user owns the IP address, the invention describes, in accordance with another implementation, a new way to generate the IP address. This solution is based on using one time password for solving the IPv6 address ownership problem.

[0157] This embodiment includes a set-up phase wherein a user A (or MN) begins with a secret K. Let h( ) be a one way hash function (e.g. OWF). K could actually be the result of a hash function h( ), or the result of a concatenation of different information (e.g. a secret, the destination IP address, etc.).

[0158] A constant t is fixed (e.g. t=100 or 1000), defining the number of identifications to be allowed. (The system is thereafter restarted with a new K to avoid replay attacks)

[0159] A computes the suffix (one time password) using K, e.g. using the equation K₀=h^(t)(K), and generates the IP address IP_(A) as the concatenation of the prefix (advertised in the router advertisement messages) and K₀ (one time password):

[0160] IP_(A)=Prefix∥K₀.

[0161] Protocol messages:

[0162] When A needs to prove its address ownership to B (e.g. in MIP for Binding Update), for the i^(th) time, 1<i<t, A sends the following (e.g. in addition to the binding update in MPv6):

A→B: A, i, K _(i)(=h ^(t−i)(K))  (1)

[0163] Protocol Actions:

[0164] To prove the address ownership for the i^(th) time (e.g. when sending a binding update), A computes K_(i)=h^(t−i)(K) (easily done either from K itself or from an appropriate intermediate value saved during the computation of h^(t) (K) initially), and transmits (1) to B.

[0165] B checks that i=i_(A) (i_(A) is initially set to 1) and that the received K_(i) satisfies the hash function h(K_(i))=K_(i−1). If both checks succeed, B knows A owns the address, sets i_(A)=i_(A)+1 and saves K_(i) for the next verification.

[0166] Compared to CGA, this solution does not rely on digital signatures, which require heavy computations both at the sender and receiving end. This solution only relies on some hash operations and is therefore well suited for endpoints with low-power processors. Most mobile nodes fall in that category.

[0167] Compared to the current RR test defined in the MIPv6 specifications, MN will only have to send authenticated BU when changing CoA. In addition, only 2 messages (compared to 7) need to be exchanged between MN and CN and none of these messages needs to go through the HA.

[0168] Finally attacks leaded by an attacker between the CN and the HA possible when using RR will no longer be effective.

[0169] The solutions proposed are very efficient compared to all other existing solutions, both from the point of view of communication and computation, while providing a good level of security. The solutions are well suited for short term connections due to the limited number of times the IPv6 node can prove its ownership of the address without having to change the address.

[0170] This embodiment considers the specific scenario where the MN relies on a Home agent to support the mobility related procedures and takes the Feige Fiat Shamir as the identification protocol to illustrate the solution; but the proposed methods and systems are also valid in other scenarios (e.g. MN support mobility without any HA but only by sending BU to its CNs) and with other identification protocols.

[0171] The methods and systems described in this document can be used with any identification protocol and depending on the application and the performance requirements, FFS, Guillou Quisquater, Schnorr or some other identification protocol may be better suited: each one having its own advantages and disadvantages: e.g. Schnorr identification has the advantage of requiring only a single on-line modular multiplication by the claimant, provided exponentiation may be done as a precomputation whereas GQ allows the simultaneous reduction of both memory (parameter k) and transmission bandwith (parameter k).

[0172] At least some of the above described embodiments relate to Mobile IP. Note that the invention is not restricted to Mobile IP, and can also be applied to more generic cases as well such as simple (i.e. non-mobile) IP case, or other protocol types different from IP, or other scenarios (e.g. TCP), or other types of nodes such as stationary nodes instead of mobile nodes.

[0173] Although preferred embodiments have been described above, the invention is not limited thereto and may also be implemented in other ways, e.g. by combining, in any arbitrary fashion, one or more features of one or more embodiments with one or more features of other embodiments. 

What is claimed is:
 1. A method for proving ownership of an address of a first node in an IP based communication system, wherein said first node has a private key and public key pair, generating an address using the public key; and providing said address to a second node, wherein said second node sends an address verification request to said first node, and wherein said first node proving to said second node that it owns said address by providing an address verification answer generated using said private key corresponding to said public key.
 2. A method according to claim 1, wherein the step of generating an address comprises the steps of: computing a function using the public key to generate an address generation value; and generating an address, preferably a dynamic address, using said address generation value.
 3. A method of claim 1, wherein the address is an IPv6 (IP version 6) address.
 4. A method of claim 1, wherein said first node generates a pair of private/public keys according to an identification protocol.
 5. A method of claim 4, wherein the identification protocol is a zero knowledge identification protocol.
 6. A method of claim 1, wherein the address generation value is computed applying a hash function to the public key.
 7. A method of claim 1, wherein said first node uses the address generation value as a suffix for generating said dynamic address.
 8. A method of claim 1, wherein said address verification request sent by said second node includes a cookie and a challenge.
 9. The method of claim 8, wherein said cookie is computed by said second node using a security algorithm and a security key of said second node.
 10. The method of claim 8, wherein said challenge is a random number.
 11. The method of claim 8, wherein said first node computes a response by applying said private key to said challenge.
 12. The method of claim 11, wherein said first node sends an address verification response including said cookie, said response and said public key.
 13. The method of claim 1, wherein said second node verifies that said first node owns said address by computing a hash of said public key and comparing the resulting value with said address generating value in a suffix of said dynamic address, and by applying said public key to said response and comparing the result with said challenge.
 14. Method for proving ownership of an IP address of a node in an IP based communication system, wherein the node generates the IP address based on passwords used only once, another node receiving the IP address verifies that the node owns the IP address by checking the password.
 15. A method of claim 14, wherein the node generates the IP address using an advertised network prefix and the password as the suffix.
 16. A method of claim 14, wherein the node includes a number into the generated IP address, the number being incremented or decremented each time the IP address is transmitted to the another node, the another node additionally checking the number for verifying ownership of the IP address.
 17. A system for proving ownership of an address of a first node in a IP based communication system, wherein the node comprises: providing means for providing a private key and a public key pair, address generating means for generating the address using the public key, answer generating means for proving ownership of said address by providing an address verification answer to at least one address verification request sent by a second node, the answer being generated using the private key corresponding to the public key.
 18. A system of claim 17, wherein said address generating means comprises computing means for computing an address generation value using the public key, and means for generating an address, preferably a dynamic address, using said address generation value.
 19. A system of claim 17, wherein said generation means is adapted for generating said private key and said public key according to an identification protocol.
 20. A system of claim 19, wherein the identification protocol is a zero-knowledge identification protocol.
 21. A system of claim 17, wherein the address is an IPv6 (IP version 6) address.
 22. A system of claim 18, wherein the computing means is adapted for computing, as the function using the public key, a hash of the public key.
 23. A system of claim 18, wherein the address generating means is adapted to use the computing result as the suffix of the address generated by the node.
 24. A system for proving ownership of an IP address of a node in an IP based communication system, wherein the node comprises generating means for generating the IP address based on passwords used only once, another node receiving the IP address comprising verifying means for verifying that the node owns the IP address by checking the password.
 25. A system of claim 24, wherein the generating means generates the IP address using an advertised network prefix and the password as the suffix.
 26. A system of claim 24, wherein the generating means is adapted to include a number into the generated IP address, the number being incremented or decremented each time the IP address is transmitted to the another node, the another node additionally checking the number for verifying ownership of the IP address. 